import { createApp } from 'vue'
import './style.scss'
import App from './App.vue'
import route from "./router"
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'animate.css';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './styles/dark.css'
import './permission'

// 国际化
import i18n from '@/lang/index';
 
import { createPinia } from 'pinia';

const app = createApp(App)
app.use(createPinia().use(piniaPluginPersistedstate))
app.use(route)
app.use(ElementPlus,{size:''})
app.mount('#app')
app.use(i18n)
